package com.hkpw.system.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Auther: lenovo
 * @Date: 2022/9/27 14:05
 * @Description: HkConfig
 * @Version 1.0.0
 * <p>
 * hikvision:
 * gate:
 * host: 172.16.3.101:443
 * appKey: 29239302
 * appSecret: ztg0eLIoIWt5NBEzcIlq
 */
@Data
@Component
@ConfigurationProperties(prefix = "hikvision.gate")
public class HkConfig {
    /**
     * 订阅事件回调地址
     */
    private String eventDest;

    /**
     * 临时出入次数限制
     */
    private int maxLock;

    /**
     * HK配置信息
     */
    private String host;

    private String appKey;

    private String appSecret;


}
